package unilearn.domain;

import java.util.Date;

/**
 * @author Ben Morall, 4158768
 * @version 0.1, 24 April 2008, inital creation, blm
 * @version 0.2, 25 April 2008, Added File Field, blm
 * @version 0.3, 30 April 2008, Added submissionID to Constructor, blm
 */
public class Submission
{
	private long assignmentID;

	private Date dateSubmitted;

	private long fileID;

	private String studentNumber;

	private final long submissionID;

	/** Creates a new instance of Submission */
	public Submission(long submissionID)
	{
		this.submissionID = submissionID;
	}

	public long getAssignmentID()
	{
		return assignmentID;
	}

	public Date getDateSubmitted()
	{
		return dateSubmitted;
	}

	public long getFileID()
	{
		return fileID;
	}

	public String getStudentNumber()
	{
		return studentNumber;
	}

	public long getSubmissionID()
	{
		return submissionID;
	}

	public void setAssignmentID(long assignmentID)
	{
		this.assignmentID = assignmentID;
	}

	public void setDateSubmitted(Date dateSubmitted)
	{
		this.dateSubmitted = dateSubmitted;
	}

	public void setFileID(long fileID)
	{
		this.fileID = fileID;
	}

	public void setStudentNumber(String studentNumber)
	{
		this.studentNumber = studentNumber;
	}

}
